import request from '@/util/request.js';

/**
 * @description 投诉
 * @param {Object} data
 */
export function complaintApi(data) {
	return request({
		url: '/api/passenger/complaint',
		method: 'POST',
		data
	})
}

/**
 * @description 投诉类型
 * @param {Object} data
 */
export function getDicByCode(data) {
	return request({
		url: '/api/driver/getDicByCode',
		method: 'GET',
		data
	})
}